<template>
	<view>
		<web-view :src="url" v-if="url"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				url: ''
			};
		},
		onLoad(e) {
			// #ifdef H5
			window.location.href = e.url
			// #endif
			// #ifdef APP-PLUS
			this.url = e.url
			// #endif
		}
	}
</script>

<style lang="scss" scoped>

</style>
